package org.lanqiao.tjut.bean;

import java.util.Date;

/**
 * student实体类
 * 
 * @author Administrator
 *
 */
public class StudentInfoBean {
	private Integer stuId;
	private String stuName;
	private Integer stuScore;
	private Date stuBirthday;

	public StudentInfoBean() {
		super();
	}

	public StudentInfoBean(String stuName, Integer stuScore, Date stuBirthday) {
		super();
		this.stuName = stuName;
		this.stuScore = stuScore;
		this.stuBirthday = stuBirthday;
	}

	/**
	 * 学习行为
	 */
	public void doStuding() {
		System.out.println("I am a student,I am studing...");
	}

	/**
	 * 休息睡觉的行为
	 */
	public void doSleeping() {
		System.out.println("I am a student,I am sleeping...");
	}

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public Integer getStuScore() {
		return stuScore;
	}

	public void setStuScore(Integer stuScore) {
		this.stuScore = stuScore;
	}

	public Date getStuBirthday() {
		return stuBirthday;
	}

	public void setStuBirthday(Date stuBirthday) {
		this.stuBirthday = stuBirthday;
	}

	@Override
	public String toString() {
		return "StudentInfoBean [stuId=" + stuId + ", stuName=" + stuName + ", stuScore=" + stuScore + ", stuBirthday="
				+ stuBirthday + "]";
	}

}
